package com.ms3ds.deviceData.api;

import com.ms3ds.common.core.constant.ServiceNameConstants;
import com.ms3ds.common.core.domain.R;
import com.ms3ds.deviceData.api.factory.RemoteMiningRecordFallbackFactory;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;

/**
 * 矿山信息服务
 * 
 * @author zlw
 */
@FeignClient(contextId = "remoteMiningRecordService", value = ServiceNameConstants.DEVICE_DATA_SERVICE, fallbackFactory = RemoteMiningRecordFallbackFactory.class)
public interface RemoteMiningRecordService
{
    @GetMapping("/miningRecord/generateMiningRecord")
    R<Boolean> generateMiningRecord();
}
